package com.cyms.modules.base.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.cyms.common.utils.PageUtils;
import com.cyms.common.utils.Query;

import com.cyms.modules.base.dao.LineScheduleDao;
import com.cyms.modules.base.entity.LineScheduleEntity;
import com.cyms.modules.base.service.LineScheduleService;


@Service("lineScheduleService")
public class LineScheduleServiceImpl extends ServiceImpl<LineScheduleDao, LineScheduleEntity> implements LineScheduleService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<LineScheduleEntity> page = this.selectPage(
                new Query<LineScheduleEntity>(params).getPage(),
                new EntityWrapper<LineScheduleEntity>()
        );

        return new PageUtils(page);
    }

}
